import Layout from '@/layout'

export default {
	path: '/futures',
	name: 'futures',
	component: Layout,
	meta: {
		title: '期货',
		icon: 'el-icon-odometer',
		roles: ['admin', 'guest']
	},
	alwaysShow: true,
	children: [
		{
			path: 'inx-futures',
			name: 'InxFutures',
			component: () => import('@/views/futures/inxFutures'),
			meta: {
				title: '股指期货升贴水',
				roles: ['admin', 'guest']
			}
		},
		{
			path: 'commodity-futures',
			name: 'CommodityFutures',
			component: () => import('@/views/futures/commodityFutures'),
			meta: {
				title: '商品期货行情',
				roles: ['admin', 'guest']
			}
		},
		{
			path: 'futures-vs-futures',
			name: 'FuturesVsFutures',
			component: () => import('@/views/futures/futuresVsFutures'),
			meta: {
				title: '商品期货价差列表',
				roles: ['admin', 'guest']
			}
		},
		{
			path: 'futures-vs-futures-history',
			name: 'FuturesVsFuturesHistory',
			component: () => import('@/views/futures/futuresVsFuturesHistory'),
			meta: {
				title: '商品期货历史价差',
				roles: ['admin', 'guest']
			}
		}
	]
}
